<?php

    // Set cookie.
    print $M->BRW->cookie( "test", "something" ) ? "Cookie: Sent"
                                                 : "Cookie: Not Sent";

    // Hello!
    print( "<br />\n<br />\nHello, world!<br />\n<br />\n" );

    // SEO enabled?
    print( "SEO is " . ( ( M_SEO === true ) ? "enabled" : "disabled" ) . "." );

    // Print sub action.
    print( "<br />\n<br />\nSub Action (sub): " .
           ( !empty( $M->BRW->ALL['sub'] ) ? $M->BRW->ALL['sub'] : "-" ) );

    // Print encoded URL.
    print( "<br />\n<br />\nEncoded URL: " .
           $M->BRW->url( array( 'key1' => "value1" ) ) );

    // Print cookie value.
    print( "<br />\n<br />\nCookie value: " .
           $M->BRW->COOKIE['test'] );

    // Print query.
    print( "<br />\n<br />\nParser query:<br /><pre>" );

    // Print query.
    print_r( $M->BRW->ALL );

    // Finish query.
    print( "</pre>" );
?>
<style type="text/css">
    body, div, td {
        color: #000000;
        font-family: Arial;
        font-size: 11px;
    }
</style>